home *** CD-ROM | disk | FTP | other *** search
- /*
- ** S . H
- **
- **
- ** This file contains definitions required for the SEND program.
- **
- ** R E V I S I O N H I S T O R Y
- **
- ** 03/31/83 GWH Split the SEND program into component parts
- **
- ** 10/19/83 GWH Added a counter to the ALIAS structure to prevent
- ** disaster in local aliasfile loops.
- **
- */
-
- #include "util.h"
- #include "mmdf.h"
- #include "ch.h"
- #include <pwd.h>
- #include <signal.h>
- #include "cnvtdate.h"
- #include "./s_tailor.h"
-
- #define DREND 2
- #define DRBEGIN 0
-
- #define HDRPRT YES
- #define HDRSIL NO
-
- #define FLDREMV 0
- #define FLDSAME 1
- #define FLDOVER 2
- #define FLDADD 3
- #define ITMRMV 4
-
- #define BBSIZE 513
- #define S_BSIZE 1024
-
- /* Define somethings for use in "getuinfo" */
-
- #define COPYFILE 0
- #define DRAFTDIR 1
- #define SIGNATURE 2
- #define NOSIGNATURE 3
- #define REPLYTO 4
- #define ALIASES 5
- #define SUBARGS 6
- #define EDITOR 7
- #define VEDITOR 8
- #define CFILE 9
- #define QFILE 10
- #define NOFILE 11
- #define PAGING 12
- #define CHECKER 13
- #define ADDHEADER 14
-
- /* Macro definition for use in s_get.c */
-
- #define MAX(a,b) (a > b ? a : b )
- struct RCOPTION {
- char *name;
- int idnum;
- };
- struct header {
- char *hname;
- char hdata[S_BSIZE];
- struct header *hnext;
- };
-
- #define NARGS 20 /* Maximum number of args to set and in .sendrc lines */
- #define M_BSIZE 256
-